﻿#include "Reader.h"

Reader::Reader()
{

}

Reader::Reader(const QString& readerNo, const QString& readerName, const QString& dept, const long& tel, const int& canjie, const int& yijie)
	:m_readerNo(readerNo)
	,m_readerName(readerName)
	,m_dept(dept)
	,m_tel(tel)
	,m_canjie(canjie)
	,m_yijie(yijie)
{
	
}

QDebug operator<<(QDebug out, const Reader& reader)
{
	qInfo() << "读者号>" << reader.m_readerNo << " 读者名>" << reader.m_readerName << " 读者地址>" << reader.m_dept << " 读者电话>" << reader.m_tel << " 可借书数>" << reader.m_canjie << " 已借书数>" << reader.m_yijie;

	return out;
}
